<div id="panel1">
    <div class="hd">
        --- header ----
    </div>
    <div class="bd" id="contenedor">
        inserta en z_logs
    </div>

    <div class="bd" id="calculadora">
		<!--form id="form_1" method="POST" action="ajax_php/procesa_altas.php" -->
		<form id="form_1" >
			<input type="text" name="log" id="log" value="holass"  />
			<br>
			<input type="submit" value="Submit" />
		</form>
        
        <br>
        <!--input type="button" value="insertar" id="pasar_test" /-->
        <br>


    </div>

    <div class="ft" id="footer">
        --- footer ----
    </div>
</div>

<script type="text/javascript">

(function(){


    //console.log("scripts cargados");

    $(document).ready(function(){
        //        alert("script cargdo");
    
  	    // $("#pasar_test").click(function(){   //ya funcionaa
            // $("#text_2").val($("#text_1").val()); 
            // alert("pasado");
        // });
    
    });

    Ext.onReady(function() {    
      
    });

})();
</script>

   <script type="text/javascript">
      $(function(){
        $("#form_1").submit(function(){
          $.ajax({
            type:"POST",
            url:"ajax_php/procesa_altas.php",
            dataType:"html",
            data:$(this).serialize(),
            beforeSend:function(){
              //$("#sending").show();
			  ventanaLoading.show();
			  //showStickySuccessToast("enviando");
            },
            success:function(response){
                //$("#response").html(response);
                //$("#loading").hide();
				
				setTimeout(function(){ventanaLoading.hide();}, 1000);
            }
 
          })
          return false;
        })
 
      })
      </script>